Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change primary and secondary button for consistency #1381

Merged
merged 6 commits into from
Oct 15, 2024

Conversation

edouardparis
Copy link
Member

@edouardparis edouardparis commented Oct 14, 2024

close #1380

We removed all the primary buttons, they will be introduced back in the GUI incrementally to follow a one primary button per page policy

The secondary button is border grey then border and text green on hover, whereas primary button will have its background green to be a call to action to the user.
The background of the secondary button is changed for a light grey in order to be consistent with items list selection.

20241014_12h47m01s_grim
20241014_12h47m24s_grim
20241014_12h47m42s_grim

The secondary button is light grey border and transparent
background that has border and text green on hover.
It brings consistency with item list selection that
has green border on hover.
@jp1ac4
Copy link
Collaborator

jp1ac4 commented Oct 14, 2024

Perhaps the "Ignore" button here should not be filled in order to be the same as "Save" (except for the colour):

image
Hover "Ignore":
image
Hover "Save":
image

@nondiremanuel
Copy link
Collaborator

Perhaps the "Ignore" button here should not be filled in order to be the same as "Save" (except for the colour):

image Hover "Ignore": image Hover "Save": image

I personally think that in such case "Save" should be primary (green) and "Ignore" secondary (without any red). But maybe this is part of the activity of reviewing all the buttons hierarchy.

Copy link
Member Author

@edouardparis edouardparis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Self-ACK 3e33353

@edouardparis edouardparis merged commit d35a594 into wizardsardine:master Oct 15, 2024
31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Distinguish between primary and secondary buttons
3 participants